<?php

include_once BONE_ROOT.DS.APP_DIR.DS.'templates'.DS.'config'.DS.'config.php';

class template_config_mail_test extends template_config
{

	protected function center()
	{
		$this->toolbar();
		
		$config = $this->get('config');
		?>

<div class="box">
	<div class="box-tl"><div class="box-tr"><div class="box-tm"></div></div></div>	
	<div class="box-m">
		<h3 class="title"><?php echo $this->get_title(); ?></h3>
		<form action="./" method="post">
		<table class="edit-table">
		<tbody>
		<tr>
		<td class="key">收件邮箱</td>
		<td><input type="text" name="to_email" size="50" value="<?php echo request('to_email'); ?>" /></td>
		</tr>
		<tr>
		<td class="key">标题</td>
		<td><input type="text" name="subject" size="50" value="骨头邮件测试" /></td>
		</tr>
		<tr>
		<td class="key">内容</td>
		<td>
			<textarea name="body" style="width:500px; height:30px;">这是一封骨头测试邮件.</textarea>
		</td>
		</tr>
		<tr>
		<td class="key"></td>
		<td>
		<input class="btn" type="submit" value="发送" />
		</td>
		</tr>
		</tbody>
		</table>
		<input type="hidden" name="controller" value="config" />
		<input type="hidden" name="task" value="config_mail_test_save" />
		</form>
		
	</div>
	<div class="box-bl"><div class="box-br"><div class="box-bm"></div></div></div>
</div>
		

		<?php
		
	}	

}
?>